package tpoo.common.utils.exceptions;


public class ResourceException extends AbstractException {

	private String resourceName;
	
	public String getResourceName() {
		return resourceName;
	}

	public void setResourceName(String resourceName) {
		this.resourceName = resourceName;
	}

	public ResourceException(String resourceName) {
		this.resourceName = resourceName;
	}
	
	@Override
	public String getMessage() {
		return "Error en el recurso: "+this.getResourceName();
	}

}
